package com.seari.tunnel.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.seari.tunnel.entity.RecordAudit;
import com.seari.tunnel.mapper.RecordAuditMapper;
import com.seari.tunnel.service.IDynamicService;

@Service(IDynamicService.SERVICE_NAME)
public class DynamicServiceImpl implements IDynamicService{
	
	@Autowired
	RecordAuditMapper recordAuditMapper;
	
	@Override
	public void addRecordAudit(RecordAudit recordAudit) {
		recordAuditMapper.addRecordAudit(recordAudit);
		
	}

	@Override
	public List<RecordAudit> findRecordAudits() {
		
		return recordAuditMapper.findRecordAudits();
	}
	
}
